package com.vhall.component.entity.chat.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author xianglei
 * @date 2021/5/7 16:31
 */

@Data
public class ChatAuditListReqVo implements Serializable {
    private static final long serialVersionUID = 2485927108339804577L;

    @NotBlank(message = "参数异常")
    @ParamName("room_id")
    private String roomId;

    @NotBlank(message = "参数异常")
    @ParamName("channel_id")
    private String channelId;

    @NotBlank(message = "参数异常")
    @ParamName("third_party_user_id")
    private String thirdPartyUserId;

    @NotBlank(message = "参数异常")
    @Pattern(regexp = "(pc_browser)|(h5_browser)|(android)|(ios)|(desktop)|(wechat_browser)|(wechat_applet)", message = "参数异常")
    private String client;

    @ParamName("vss_token")
    private String vssToken;

}
